package com.xindacloud.sms.adapter.service.business;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xindacloud.sms.adapter.entity.SmsUserAllowOperator;

import java.util.List;

public interface ISmsUserAllowOperatorService extends IService<SmsUserAllowOperator> {


    List<SmsUserAllowOperator> queryUserAllowOperatorById(Integer userId);

    SmsUserAllowOperator queryOneMaxPriceOrderByDesc(Integer userId, String countryCode, String prefix, String networkCode);

    List<SmsUserAllowOperator> queryMinCostPriceOrderByAsc(Integer userId, String countryCode, String prefix);

    SmsUserAllowOperator queryUserAllowOperatorMinPrice(Integer userId, String countryCode, String prefix);

    SmsUserAllowOperator queryOneMaxPriceByAgentId(Integer userId, String countryCode, String prefix, String agentId);


}
